class EvaluateEntity {
  final int? total;
  List<EvaluateInfo>? rows;

  EvaluateEntity({this.rows, this.total});

  factory EvaluateEntity.fromJson(Map<String, dynamic> json) {
    final originList = json['rows'] as List?;
    List<EvaluateInfo> protocolList =
        (originList??[]).map((value) => EvaluateInfo.fromJson(value)).toList();
    return EvaluateEntity(rows: protocolList, total: json['total']);
  }
}

class EvaluateInfo {
  String? evaluationByName;
  String? evaluationTypeName;
  String? evaluationTime;

  EvaluateInfo({
    this.evaluationTypeName,
    this.evaluationByName,
    this.evaluationTime,
  });

  EvaluateInfo.fromJson(Map data) {
    evaluationTypeName = data['evaluationTypeName'];
    evaluationByName = data['evaluationByName'];
    evaluationTime = data['evaluationTime'];
  }
}
